Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CBG-3503 Update HLV on import #6572

Merged
merged 1 commit into from
Nov 15, 2023
Merged

CBG-3503 Update HLV on import #6572

merged 1 commit into from
Nov 15, 2023

Conversation

adamcfraser
Copy link
Collaborator

@adamcfraser adamcfraser commented Nov 10, 2023

CBG-3503

Updates HLV on import. Includes importCAS handling for HLV already updated by non-SG peers.

Integration Tests

Updates HLV on import.  Includes importCAS handling for HLV already updated by non-SG peers.
@gregns1
Copy link
Contributor

gregns1 commented Nov 14, 2023

LGTM - Refactored parts seem like a good idea and think the HLVAgent Method is going to be really helpful in future. Will let Ben give the final review

@bbrks bbrks merged commit a52aa5b into beryllium Nov 15, 2023
17 checks passed
@bbrks bbrks deleted the CBG-3503 branch November 15, 2023 13:49
gregns1 pushed a commit that referenced this pull request Dec 1, 2023
gregns1 pushed a commit that referenced this pull request Dec 1, 2023
bbrks pushed a commit that referenced this pull request Dec 15, 2023
bbrks pushed a commit that referenced this pull request Dec 15, 2023
bbrks pushed a commit that referenced this pull request Jan 10, 2024
gregns1 pushed a commit that referenced this pull request Jan 12, 2024
bbrks pushed a commit that referenced this pull request Jan 19, 2024
gregns1 pushed a commit that referenced this pull request Jan 22, 2024
bbrks pushed a commit that referenced this pull request Jan 23, 2024
gregns1 pushed a commit that referenced this pull request Jan 23, 2024
adamcfraser added a commit that referenced this pull request Jan 24, 2024
* CBG-3210: Updating HLV on Put And PutExistingRev (#6366)

* CBG-3209: Add cv index and retrieval for revision cache (#6491)

* CBG-3209: changes for retreival of a doc from the rev cache via CV with backwards compatability in mind

* fix failing test, add commnets

* fix lint

* updated to address comments

* rebase chnages needed

* updated to tests that call Get on revision cache

* updates based of new direction with PR + addressing comments

* updated to fix panic

* updated to fix another panic

* address comments

* updates based off commnets

* remove commnented out line

* updates to skip test relying on import and update PutExistingRev doc update type to update HLV

* updates to remove code adding rev id to value inside addToRevMapPostLoad. Added code to assign this inside value.store

* remove redundent code

* CBG-3503 Update HLV on import (#6572)

* Beryllium: Rename `SourceAndVersion` to `Version` / Improve HLV comments. (#6614)

* - Rename `SourceAndVersion` to just `Version`, and rename `SourceAndVersion.Version` to `Value`.
- Add/Improve comments.

* Update db/hybrid_logical_vector.go

* CBG-3254: pull replication for v4 protocol

* updates to the btcRunner

* tidy of comments

* fix linter

* updates to change way hlv is represented on doc revision in rev cache. Also added temporary methods to use db operation in btcRunner test to put and update docs

* updates to fix linters and remove unused function

* more lint stuff

* address commnets after rebase

* updates to fix failing test and comments

* updates to address comments

---------

Co-authored-by: Adam Fraser <adam.fraser@couchbase.com>
Co-authored-by: Ben Brooks <ben.brooks@couchbase.com>
bbrks pushed a commit that referenced this pull request Apr 9, 2024
bbrks added a commit that referenced this pull request Apr 9, 2024
* CBG-3210: Updating HLV on Put And PutExistingRev (#6366)

* CBG-3209: Add cv index and retrieval for revision cache (#6491)

* CBG-3209: changes for retreival of a doc from the rev cache via CV with backwards compatability in mind

* fix failing test, add commnets

* fix lint

* updated to address comments

* rebase chnages needed

* updated to tests that call Get on revision cache

* updates based of new direction with PR + addressing comments

* updated to fix panic

* updated to fix another panic

* address comments

* updates based off commnets

* remove commnented out line

* updates to skip test relying on import and update PutExistingRev doc update type to update HLV

* updates to remove code adding rev id to value inside addToRevMapPostLoad. Added code to assign this inside value.store

* remove redundent code

* CBG-3503 Update HLV on import (#6572)

* Beryllium: Rename `SourceAndVersion` to `Version` / Improve HLV comments. (#6614)

* - Rename `SourceAndVersion` to just `Version`, and rename `SourceAndVersion.Version` to `Value`.
- Add/Improve comments.

* Update db/hybrid_logical_vector.go

* CBG-3254: pull replication for v4 protocol

* updates to the btcRunner

* tidy of comments

* fix linter

* updates to change way hlv is represented on doc revision in rev cache. Also added temporary methods to use db operation in btcRunner test to put and update docs

* updates to fix linters and remove unused function

* more lint stuff

* address commnets after rebase

* updates to fix failing test and comments

* updates to address comments

---------

Co-authored-by: Adam Fraser <adam.fraser@couchbase.com>
Co-authored-by: Ben Brooks <ben.brooks@couchbase.com>
bbrks pushed a commit that referenced this pull request Apr 16, 2024
bbrks added a commit that referenced this pull request Apr 16, 2024
* CBG-3210: Updating HLV on Put And PutExistingRev (#6366)

* CBG-3209: Add cv index and retrieval for revision cache (#6491)

* CBG-3209: changes for retreival of a doc from the rev cache via CV with backwards compatability in mind

* fix failing test, add commnets

* fix lint

* updated to address comments

* rebase chnages needed

* updated to tests that call Get on revision cache

* updates based of new direction with PR + addressing comments

* updated to fix panic

* updated to fix another panic

* address comments

* updates based off commnets

* remove commnented out line

* updates to skip test relying on import and update PutExistingRev doc update type to update HLV

* updates to remove code adding rev id to value inside addToRevMapPostLoad. Added code to assign this inside value.store

* remove redundent code

* CBG-3503 Update HLV on import (#6572)

* Beryllium: Rename `SourceAndVersion` to `Version` / Improve HLV comments. (#6614)

* - Rename `SourceAndVersion` to just `Version`, and rename `SourceAndVersion.Version` to `Value`.
- Add/Improve comments.

* Update db/hybrid_logical_vector.go

* CBG-3254: pull replication for v4 protocol

* updates to the btcRunner

* tidy of comments

* fix linter

* updates to change way hlv is represented on doc revision in rev cache. Also added temporary methods to use db operation in btcRunner test to put and update docs

* updates to fix linters and remove unused function

* more lint stuff

* address commnets after rebase

* updates to fix failing test and comments

* updates to address comments

---------

Co-authored-by: Adam Fraser <adam.fraser@couchbase.com>
Co-authored-by: Ben Brooks <ben.brooks@couchbase.com>
bbrks pushed a commit that referenced this pull request Apr 16, 2024
bbrks added a commit that referenced this pull request Apr 16, 2024
* CBG-3210: Updating HLV on Put And PutExistingRev (#6366)

* CBG-3209: Add cv index and retrieval for revision cache (#6491)

* CBG-3209: changes for retreival of a doc from the rev cache via CV with backwards compatability in mind

* fix failing test, add commnets

* fix lint

* updated to address comments

* rebase chnages needed

* updated to tests that call Get on revision cache

* updates based of new direction with PR + addressing comments

* updated to fix panic

* updated to fix another panic

* address comments

* updates based off commnets

* remove commnented out line

* updates to skip test relying on import and update PutExistingRev doc update type to update HLV

* updates to remove code adding rev id to value inside addToRevMapPostLoad. Added code to assign this inside value.store

* remove redundent code

* CBG-3503 Update HLV on import (#6572)

* Beryllium: Rename `SourceAndVersion` to `Version` / Improve HLV comments. (#6614)

* - Rename `SourceAndVersion` to just `Version`, and rename `SourceAndVersion.Version` to `Value`.
- Add/Improve comments.

* Update db/hybrid_logical_vector.go

* CBG-3254: pull replication for v4 protocol

* updates to the btcRunner

* tidy of comments

* fix linter

* updates to change way hlv is represented on doc revision in rev cache. Also added temporary methods to use db operation in btcRunner test to put and update docs

* updates to fix linters and remove unused function

* more lint stuff

* address commnets after rebase

* updates to fix failing test and comments

* updates to address comments

---------

Co-authored-by: Adam Fraser <adam.fraser@couchbase.com>
Co-authored-by: Ben Brooks <ben.brooks@couchbase.com>
adamcfraser added a commit that referenced this pull request May 7, 2024
adamcfraser added a commit that referenced this pull request May 7, 2024
* CBG-3210: Updating HLV on Put And PutExistingRev (#6366)

* CBG-3209: Add cv index and retrieval for revision cache (#6491)

* CBG-3209: changes for retreival of a doc from the rev cache via CV with backwards compatability in mind

* fix failing test, add commnets

* fix lint

* updated to address comments

* rebase chnages needed

* updated to tests that call Get on revision cache

* updates based of new direction with PR + addressing comments

* updated to fix panic

* updated to fix another panic

* address comments

* updates based off commnets

* remove commnented out line

* updates to skip test relying on import and update PutExistingRev doc update type to update HLV

* updates to remove code adding rev id to value inside addToRevMapPostLoad. Added code to assign this inside value.store

* remove redundent code

* CBG-3503 Update HLV on import (#6572)

* Beryllium: Rename `SourceAndVersion` to `Version` / Improve HLV comments. (#6614)

* - Rename `SourceAndVersion` to just `Version`, and rename `SourceAndVersion.Version` to `Value`.
- Add/Improve comments.

* Update db/hybrid_logical_vector.go

* CBG-3254: pull replication for v4 protocol

* updates to the btcRunner

* tidy of comments

* fix linter

* updates to change way hlv is represented on doc revision in rev cache. Also added temporary methods to use db operation in btcRunner test to put and update docs

* updates to fix linters and remove unused function

* more lint stuff

* address commnets after rebase

* updates to fix failing test and comments

* updates to address comments

---------

Co-authored-by: Adam Fraser <adam.fraser@couchbase.com>
Co-authored-by: Ben Brooks <ben.brooks@couchbase.com>
adamcfraser added a commit that referenced this pull request May 10, 2024
adamcfraser added a commit that referenced this pull request May 10, 2024
* CBG-3210: Updating HLV on Put And PutExistingRev (#6366)

* CBG-3209: Add cv index and retrieval for revision cache (#6491)

* CBG-3209: changes for retreival of a doc from the rev cache via CV with backwards compatability in mind

* fix failing test, add commnets

* fix lint

* updated to address comments

* rebase chnages needed

* updated to tests that call Get on revision cache

* updates based of new direction with PR + addressing comments

* updated to fix panic

* updated to fix another panic

* address comments

* updates based off commnets

* remove commnented out line

* updates to skip test relying on import and update PutExistingRev doc update type to update HLV

* updates to remove code adding rev id to value inside addToRevMapPostLoad. Added code to assign this inside value.store

* remove redundent code

* CBG-3503 Update HLV on import (#6572)

* Beryllium: Rename `SourceAndVersion` to `Version` / Improve HLV comments. (#6614)

* - Rename `SourceAndVersion` to just `Version`, and rename `SourceAndVersion.Version` to `Value`.
- Add/Improve comments.

* Update db/hybrid_logical_vector.go

* CBG-3254: pull replication for v4 protocol

* updates to the btcRunner

* tidy of comments

* fix linter

* updates to change way hlv is represented on doc revision in rev cache. Also added temporary methods to use db operation in btcRunner test to put and update docs

* updates to fix linters and remove unused function

* more lint stuff

* address commnets after rebase

* updates to fix failing test and comments

* updates to address comments

---------

Co-authored-by: Adam Fraser <adam.fraser@couchbase.com>
Co-authored-by: Ben Brooks <ben.brooks@couchbase.com>
adamcfraser added a commit that referenced this pull request May 14, 2024
adamcfraser added a commit that referenced this pull request May 14, 2024
* CBG-3210: Updating HLV on Put And PutExistingRev (#6366)

* CBG-3209: Add cv index and retrieval for revision cache (#6491)

* CBG-3209: changes for retreival of a doc from the rev cache via CV with backwards compatability in mind

* fix failing test, add commnets

* fix lint

* updated to address comments

* rebase chnages needed

* updated to tests that call Get on revision cache

* updates based of new direction with PR + addressing comments

* updated to fix panic

* updated to fix another panic

* address comments

* updates based off commnets

* remove commnented out line

* updates to skip test relying on import and update PutExistingRev doc update type to update HLV

* updates to remove code adding rev id to value inside addToRevMapPostLoad. Added code to assign this inside value.store

* remove redundent code

* CBG-3503 Update HLV on import (#6572)

* Beryllium: Rename `SourceAndVersion` to `Version` / Improve HLV comments. (#6614)

* - Rename `SourceAndVersion` to just `Version`, and rename `SourceAndVersion.Version` to `Value`.
- Add/Improve comments.

* Update db/hybrid_logical_vector.go

* CBG-3254: pull replication for v4 protocol

* updates to the btcRunner

* tidy of comments

* fix linter

* updates to change way hlv is represented on doc revision in rev cache. Also added temporary methods to use db operation in btcRunner test to put and update docs

* updates to fix linters and remove unused function

* more lint stuff

* address commnets after rebase

* updates to fix failing test and comments

* updates to address comments

---------

Co-authored-by: Adam Fraser <adam.fraser@couchbase.com>
Co-authored-by: Ben Brooks <ben.brooks@couchbase.com>
torcolvin pushed a commit that referenced this pull request May 21, 2024
torcolvin pushed a commit that referenced this pull request May 21, 2024
* CBG-3210: Updating HLV on Put And PutExistingRev (#6366)

* CBG-3209: Add cv index and retrieval for revision cache (#6491)

* CBG-3209: changes for retreival of a doc from the rev cache via CV with backwards compatability in mind

* fix failing test, add commnets

* fix lint

* updated to address comments

* rebase chnages needed

* updated to tests that call Get on revision cache

* updates based of new direction with PR + addressing comments

* updated to fix panic

* updated to fix another panic

* address comments

* updates based off commnets

* remove commnented out line

* updates to skip test relying on import and update PutExistingRev doc update type to update HLV

* updates to remove code adding rev id to value inside addToRevMapPostLoad. Added code to assign this inside value.store

* remove redundent code

* CBG-3503 Update HLV on import (#6572)

* Beryllium: Rename `SourceAndVersion` to `Version` / Improve HLV comments. (#6614)

* - Rename `SourceAndVersion` to just `Version`, and rename `SourceAndVersion.Version` to `Value`.
- Add/Improve comments.

* Update db/hybrid_logical_vector.go

* CBG-3254: pull replication for v4 protocol

* updates to the btcRunner

* tidy of comments

* fix linter

* updates to change way hlv is represented on doc revision in rev cache. Also added temporary methods to use db operation in btcRunner test to put and update docs

* updates to fix linters and remove unused function

* more lint stuff

* address commnets after rebase

* updates to fix failing test and comments

* updates to address comments

---------

Co-authored-by: Adam Fraser <adam.fraser@couchbase.com>
Co-authored-by: Ben Brooks <ben.brooks@couchbase.com>
adamcfraser added a commit that referenced this pull request May 27, 2024
adamcfraser added a commit that referenced this pull request May 27, 2024
* CBG-3210: Updating HLV on Put And PutExistingRev (#6366)

* CBG-3209: Add cv index and retrieval for revision cache (#6491)

* CBG-3209: changes for retreival of a doc from the rev cache via CV with backwards compatability in mind

* fix failing test, add commnets

* fix lint

* updated to address comments

* rebase chnages needed

* updated to tests that call Get on revision cache

* updates based of new direction with PR + addressing comments

* updated to fix panic

* updated to fix another panic

* address comments

* updates based off commnets

* remove commnented out line

* updates to skip test relying on import and update PutExistingRev doc update type to update HLV

* updates to remove code adding rev id to value inside addToRevMapPostLoad. Added code to assign this inside value.store

* remove redundent code

* CBG-3503 Update HLV on import (#6572)

* Beryllium: Rename `SourceAndVersion` to `Version` / Improve HLV comments. (#6614)

* - Rename `SourceAndVersion` to just `Version`, and rename `SourceAndVersion.Version` to `Value`.
- Add/Improve comments.

* Update db/hybrid_logical_vector.go

* CBG-3254: pull replication for v4 protocol

* updates to the btcRunner

* tidy of comments

* fix linter

* updates to change way hlv is represented on doc revision in rev cache. Also added temporary methods to use db operation in btcRunner test to put and update docs

* updates to fix linters and remove unused function

* more lint stuff

* address commnets after rebase

* updates to fix failing test and comments

* updates to address comments

---------

Co-authored-by: Adam Fraser <adam.fraser@couchbase.com>
Co-authored-by: Ben Brooks <ben.brooks@couchbase.com>
adamcfraser added a commit that referenced this pull request Aug 11, 2024
adamcfraser added a commit that referenced this pull request Aug 11, 2024
* CBG-3210: Updating HLV on Put And PutExistingRev (#6366)

* CBG-3209: Add cv index and retrieval for revision cache (#6491)

* CBG-3209: changes for retreival of a doc from the rev cache via CV with backwards compatability in mind

* fix failing test, add commnets

* fix lint

* updated to address comments

* rebase chnages needed

* updated to tests that call Get on revision cache

* updates based of new direction with PR + addressing comments

* updated to fix panic

* updated to fix another panic

* address comments

* updates based off commnets

* remove commnented out line

* updates to skip test relying on import and update PutExistingRev doc update type to update HLV

* updates to remove code adding rev id to value inside addToRevMapPostLoad. Added code to assign this inside value.store

* remove redundent code

* CBG-3503 Update HLV on import (#6572)

* Beryllium: Rename `SourceAndVersion` to `Version` / Improve HLV comments. (#6614)

* - Rename `SourceAndVersion` to just `Version`, and rename `SourceAndVersion.Version` to `Value`.
- Add/Improve comments.

* Update db/hybrid_logical_vector.go

* CBG-3254: pull replication for v4 protocol

* updates to the btcRunner

* tidy of comments

* fix linter

* updates to change way hlv is represented on doc revision in rev cache. Also added temporary methods to use db operation in btcRunner test to put and update docs

* updates to fix linters and remove unused function

* more lint stuff

* address commnets after rebase

* updates to fix failing test and comments

* updates to address comments

---------

Co-authored-by: Adam Fraser <adam.fraser@couchbase.com>
Co-authored-by: Ben Brooks <ben.brooks@couchbase.com>
adamcfraser added a commit that referenced this pull request Aug 11, 2024
adamcfraser added a commit that referenced this pull request Aug 11, 2024
* CBG-3210: Updating HLV on Put And PutExistingRev (#6366)

* CBG-3209: Add cv index and retrieval for revision cache (#6491)

* CBG-3209: changes for retreival of a doc from the rev cache via CV with backwards compatability in mind

* fix failing test, add commnets

* fix lint

* updated to address comments

* rebase chnages needed

* updated to tests that call Get on revision cache

* updates based of new direction with PR + addressing comments

* updated to fix panic

* updated to fix another panic

* address comments

* updates based off commnets

* remove commnented out line

* updates to skip test relying on import and update PutExistingRev doc update type to update HLV

* updates to remove code adding rev id to value inside addToRevMapPostLoad. Added code to assign this inside value.store

* remove redundent code

* CBG-3503 Update HLV on import (#6572)

* Beryllium: Rename `SourceAndVersion` to `Version` / Improve HLV comments. (#6614)

* - Rename `SourceAndVersion` to just `Version`, and rename `SourceAndVersion.Version` to `Value`.
- Add/Improve comments.

* Update db/hybrid_logical_vector.go

* CBG-3254: pull replication for v4 protocol

* updates to the btcRunner

* tidy of comments

* fix linter

* updates to change way hlv is represented on doc revision in rev cache. Also added temporary methods to use db operation in btcRunner test to put and update docs

* updates to fix linters and remove unused function

* more lint stuff

* address commnets after rebase

* updates to fix failing test and comments

* updates to address comments

---------

Co-authored-by: Adam Fraser <adam.fraser@couchbase.com>
Co-authored-by: Ben Brooks <ben.brooks@couchbase.com>
adamcfraser added a commit that referenced this pull request Aug 13, 2024
adamcfraser added a commit that referenced this pull request Aug 13, 2024
* CBG-3210: Updating HLV on Put And PutExistingRev (#6366)

* CBG-3209: Add cv index and retrieval for revision cache (#6491)

* CBG-3209: changes for retreival of a doc from the rev cache via CV with backwards compatability in mind

* fix failing test, add commnets

* fix lint

* updated to address comments

* rebase chnages needed

* updated to tests that call Get on revision cache

* updates based of new direction with PR + addressing comments

* updated to fix panic

* updated to fix another panic

* address comments

* updates based off commnets

* remove commnented out line

* updates to skip test relying on import and update PutExistingRev doc update type to update HLV

* updates to remove code adding rev id to value inside addToRevMapPostLoad. Added code to assign this inside value.store

* remove redundent code

* CBG-3503 Update HLV on import (#6572)

* Beryllium: Rename `SourceAndVersion` to `Version` / Improve HLV comments. (#6614)

* - Rename `SourceAndVersion` to just `Version`, and rename `SourceAndVersion.Version` to `Value`.
- Add/Improve comments.

* Update db/hybrid_logical_vector.go

* CBG-3254: pull replication for v4 protocol

* updates to the btcRunner

* tidy of comments

* fix linter

* updates to change way hlv is represented on doc revision in rev cache. Also added temporary methods to use db operation in btcRunner test to put and update docs

* updates to fix linters and remove unused function

* more lint stuff

* address commnets after rebase

* updates to fix failing test and comments

* updates to address comments

---------

Co-authored-by: Adam Fraser <adam.fraser@couchbase.com>
Co-authored-by: Ben Brooks <ben.brooks@couchbase.com>
adamcfraser added a commit that referenced this pull request Nov 29, 2024
adamcfraser added a commit that referenced this pull request Nov 29, 2024
* CBG-3210: Updating HLV on Put And PutExistingRev (#6366)

* CBG-3209: Add cv index and retrieval for revision cache (#6491)

* CBG-3209: changes for retreival of a doc from the rev cache via CV with backwards compatability in mind

* fix failing test, add commnets

* fix lint

* updated to address comments

* rebase chnages needed

* updated to tests that call Get on revision cache

* updates based of new direction with PR + addressing comments

* updated to fix panic

* updated to fix another panic

* address comments

* updates based off commnets

* remove commnented out line

* updates to skip test relying on import and update PutExistingRev doc update type to update HLV

* updates to remove code adding rev id to value inside addToRevMapPostLoad. Added code to assign this inside value.store

* remove redundent code

* CBG-3503 Update HLV on import (#6572)

* Beryllium: Rename `SourceAndVersion` to `Version` / Improve HLV comments. (#6614)

* - Rename `SourceAndVersion` to just `Version`, and rename `SourceAndVersion.Version` to `Value`.
- Add/Improve comments.

* Update db/hybrid_logical_vector.go

* CBG-3254: pull replication for v4 protocol

* updates to the btcRunner

* tidy of comments

* fix linter

* updates to change way hlv is represented on doc revision in rev cache. Also added temporary methods to use db operation in btcRunner test to put and update docs

* updates to fix linters and remove unused function

* more lint stuff

* address commnets after rebase

* updates to fix failing test and comments

* updates to address comments

---------

Co-authored-by: Adam Fraser <adam.fraser@couchbase.com>
Co-authored-by: Ben Brooks <ben.brooks@couchbase.com>
bbrks pushed a commit that referenced this pull request Dec 2, 2024
bbrks added a commit that referenced this pull request Dec 2, 2024
* CBG-3210: Updating HLV on Put And PutExistingRev (#6366)

* CBG-3209: Add cv index and retrieval for revision cache (#6491)

* CBG-3209: changes for retreival of a doc from the rev cache via CV with backwards compatability in mind

* fix failing test, add commnets

* fix lint

* updated to address comments

* rebase chnages needed

* updated to tests that call Get on revision cache

* updates based of new direction with PR + addressing comments

* updated to fix panic

* updated to fix another panic

* address comments

* updates based off commnets

* remove commnented out line

* updates to skip test relying on import and update PutExistingRev doc update type to update HLV

* updates to remove code adding rev id to value inside addToRevMapPostLoad. Added code to assign this inside value.store

* remove redundent code

* CBG-3503 Update HLV on import (#6572)

* Beryllium: Rename `SourceAndVersion` to `Version` / Improve HLV comments. (#6614)

* - Rename `SourceAndVersion` to just `Version`, and rename `SourceAndVersion.Version` to `Value`.
- Add/Improve comments.

* Update db/hybrid_logical_vector.go

* CBG-3254: pull replication for v4 protocol

* updates to the btcRunner

* tidy of comments

* fix linter

* updates to change way hlv is represented on doc revision in rev cache. Also added temporary methods to use db operation in btcRunner test to put and update docs

* updates to fix linters and remove unused function

* more lint stuff

* address commnets after rebase

* updates to fix failing test and comments

* updates to address comments

---------

Co-authored-by: Adam Fraser <adam.fraser@couchbase.com>
Co-authored-by: Ben Brooks <ben.brooks@couchbase.com>
bbrks pushed a commit that referenced this pull request Dec 5, 2024
bbrks added a commit that referenced this pull request Dec 5, 2024
* CBG-3210: Updating HLV on Put And PutExistingRev (#6366)

* CBG-3209: Add cv index and retrieval for revision cache (#6491)

* CBG-3209: changes for retreival of a doc from the rev cache via CV with backwards compatability in mind

* fix failing test, add commnets

* fix lint

* updated to address comments

* rebase chnages needed

* updated to tests that call Get on revision cache

* updates based of new direction with PR + addressing comments

* updated to fix panic

* updated to fix another panic

* address comments

* updates based off commnets

* remove commnented out line

* updates to skip test relying on import and update PutExistingRev doc update type to update HLV

* updates to remove code adding rev id to value inside addToRevMapPostLoad. Added code to assign this inside value.store

* remove redundent code

* CBG-3503 Update HLV on import (#6572)

* Beryllium: Rename `SourceAndVersion` to `Version` / Improve HLV comments. (#6614)

* - Rename `SourceAndVersion` to just `Version`, and rename `SourceAndVersion.Version` to `Value`.
- Add/Improve comments.

* Update db/hybrid_logical_vector.go

* CBG-3254: pull replication for v4 protocol

* updates to the btcRunner

* tidy of comments

* fix linter

* updates to change way hlv is represented on doc revision in rev cache. Also added temporary methods to use db operation in btcRunner test to put and update docs

* updates to fix linters and remove unused function

* more lint stuff

* address commnets after rebase

* updates to fix failing test and comments

* updates to address comments

---------

Co-authored-by: Adam Fraser <adam.fraser@couchbase.com>
Co-authored-by: Ben Brooks <ben.brooks@couchbase.com>
bbrks pushed a commit that referenced this pull request Dec 17, 2024
bbrks added a commit that referenced this pull request Dec 17, 2024
* CBG-3210: Updating HLV on Put And PutExistingRev (#6366)

* CBG-3209: Add cv index and retrieval for revision cache (#6491)

* CBG-3209: changes for retreival of a doc from the rev cache via CV with backwards compatability in mind

* fix failing test, add commnets

* fix lint

* updated to address comments

* rebase chnages needed

* updated to tests that call Get on revision cache

* updates based of new direction with PR + addressing comments

* updated to fix panic

* updated to fix another panic

* address comments

* updates based off commnets

* remove commnented out line

* updates to skip test relying on import and update PutExistingRev doc update type to update HLV

* updates to remove code adding rev id to value inside addToRevMapPostLoad. Added code to assign this inside value.store

* remove redundent code

* CBG-3503 Update HLV on import (#6572)

* Beryllium: Rename `SourceAndVersion` to `Version` / Improve HLV comments. (#6614)

* - Rename `SourceAndVersion` to just `Version`, and rename `SourceAndVersion.Version` to `Value`.
- Add/Improve comments.

* Update db/hybrid_logical_vector.go

* CBG-3254: pull replication for v4 protocol

* updates to the btcRunner

* tidy of comments

* fix linter

* updates to change way hlv is represented on doc revision in rev cache. Also added temporary methods to use db operation in btcRunner test to put and update docs

* updates to fix linters and remove unused function

* more lint stuff

* address commnets after rebase

* updates to fix failing test and comments

* updates to address comments

---------

Co-authored-by: Adam Fraser <adam.fraser@couchbase.com>
Co-authored-by: Ben Brooks <ben.brooks@couchbase.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants